<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul,
        li {
            margin: 0;
            padding: 0;
            list-style-type: none;
        }
        
        #img {
            width: 400px;
            overflow: hidden;
            zoom: 1;
            border: 1px solid #Ccc;
            margin: 0 auto;
            padding: 0 0 10px 10px;
            margin-left: 50px;
        }
        
        #img li {
            float: left;
            width: 128px;
            height: 128px;
            border: 1px solid #ccc;
            margin: 10px 10px 0 0;
        }
        
        #img li img {
            width: 130px;
            height: 130px;
            float: left;
            opacity: 0.3;
            cursor: crosshair;
            filter: alpha(opacity=30);
        }
        
        #img li.current img {
            opacity: 1;
            filter: alpha(opacity=100);
        }
    </style>

</head>

<body>


    </head>

    <body>
        <ul id="img">
            <li><img src="C:\Users\thinkpad\Pictures\Camera Roll\微信图片_202105281625398.jpg" /></li>
            <li><img src="C:\Users\thinkpad\Pictures\Camera Roll\微信图片_202105281625398.jpg" /></li>
            <li><img src="C:\Users\thinkpad\Pictures\Camera Roll\微信图片_202105281625398.jpg" /></li>
            <li><img src="C:\Users\thinkpad\Pictures\Camera Roll\微信图片_202105281625398.jpg" /></li>
            <li><img src="C:\Users\thinkpad\Pictures\Camera Roll\微信图片_202105281625398.jpg" /></li>
            <li><img src="C:\Users\thinkpad\Pictures\Camera Roll\微信图片_202105281625398.jpg" /></li>
        </ul>
    </body>
    <script>
        var fds = document.getElementsByTagName("li");
        for (var i = 0; i < fds.length; i++) {
            fds[i].onmouseover = function() {
                this.className = "current"
            };
            fds[i].onmouseout = function() {
                this.className = ""
            }
        }
    </script>

</html>